home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
015a
/
zap21.zip
/
ZAP.DOC
< prev
next >
Wrap
Text File
|
1991-04-11
|
2KB
|
55 lines
ZAP 2.1 ■ By Bill Hogan
Copyright 1991
Zap is a program I wrote (in C) one afternoon to Remove unwanted
Directories from Disks in one step. Rather than Deleting all the
files in a particular directory and then removing the directory,
you can do it in one easy step.
ZAP 2.1 Uses Undocumented Dos functions to Get an Absolute Path
to the files to be deleted. It then makes a network server call
to the current machine which makes a Int-21 0x4100 to Delete any
files with Normal Attributes. If hidden or read-only files exist
they will also be removed with a call to Documented Dos which is
a bit slower.
UNDOCUMENTED calls will only be used if Dos Version 3.1 or higher
is being used.
Examples:
ZAP <Directory_Name>
ZAP MYDIR
ZAP c:\mydir
ZAP \MYDIR
ZAP will clean a directory of all files! Including Hidden, System
and Read-Only Files!
ZAP also works across different Drives if you specify the Path
correctly.
A:\>ZAP C:\mydir
C:\>ZAP a:\mydir
C:\DOS>ZAP B:\MYDIR
ZAP has been tested with many versions of DOS. It will even work
with Dos 5.0 (beta test copy). However I can not assume any
responsibility for improper use or function.
This version of the program is not recursive. If subdirectories
exist below the directory it will not remove it. It will alert you
of this problem and place you in the proper directory to ZAP any
subdirectories it finds. A Future Release of this program will
take care of this problem.
If you use Version 2.1 of this program for more than 30 Days please
send a donation of $5 or more to:
The Homeless Press
4507 East Contessa, Suite 1
Mesa, Arizona 85205
PS. Any Files and Directories Deleted by mistake can be returned
IF you use Norton UNDELETE DIRECTORY(UD.EXE) and QUICK
UNERASE(QU.EXE) IMMEDIATELY(BEFORE ANY NEW DISK WRITES)!!!